package com.zj.springbootmybatisannotation.service;

import com.github.pagehelper.PageInfo;
import com.zj.springbootmybatisannotation.model.User;

/**
 * @Auther: zj
 * @Date: 2019/3/3 19:52
 * @Description:
 */
public interface UserService {

    int addUser(User user);

    PageInfo<User> findAllUser(int pageNum, int pageSize);

}
